package com.fwixvye.pojo.rolePack;

import com.fwixvye.pojo.Role;

import java.util.LinkedHashMap;
import java.util.Set;

public class R051迪西雅 extends Role {

    @Override
    public LinkedHashMap<String, Double> singleRoleComputing() {
        LinkedHashMap<String, Double> aMap = new LinkedHashMap<>();
        aMap.put("一段伤害", 1.228);
        aMap.put("二段伤害", 1.220);
        aMap.put("三段伤害", 1.515);
        aMap.put("四段伤害", 1.884);
        aMap.put("重击循环伤害", 1.114);
        aMap.put("重击终结伤害", 2.01);
        aMap.put("下坠期间伤害", 1.474);
        aMap.put("低空坠地冲击伤害", 2.95);
        aMap.put("高空坠地冲击伤害", 3.68);

        LinkedHashMap<String, Double> eMap = new LinkedHashMap<>();
        eMap.put("净焰昂藏伤害", 2.032);
        eMap.put("剑域炽焰伤害", 2.39);
        //eMap.put("领域伤害", 1.084);


        LinkedHashMap<String, Double> qMap = new LinkedHashMap<>();
        //qMap.put("炽鬃拳伤害", 1.777);
        //qMap.put("焚落踢伤害", 2.507);


        LinkedHashMap<String, Double> tMap = new LinkedHashMap<>();
        Set<String> aSet = aMap.keySet();
        for (String s : aSet) {
            double damage = damageCalculatorZF(aMap.get(s), 15, 15, 19, 0.1, 90, 90);
            tMap.put("A" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        Set<String> eSet = eMap.keySet();
        for (String s : eSet) {
            double damage = damageCalculatorZF(eMap.get(s), 8, 8, 19, 0.1, 90, 90);
            tMap.put("E" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        /*
            E技能攻击生命倍率混杂
        */
        tMap.put("E" + "领域伤害", Double.parseDouble(String.format("%.1f", damageCalculatorZF(1.084, 8, 8, 19, 0.1, 90, 90) + damageCalculatorZFHp(0.0186, 8, 8, 19, 0.1, 90, 90))));

        Set<String> qSet = qMap.keySet();
        for (String s : qSet) {
            double damage = damageCalculatorZF(qMap.get(s), 8, 8, 19, 0.1, 90, 90);
            tMap.put("Q" + s, Double.parseDouble(String.format("%.1f", damage)));
        }
        /*
            Q技能攻击生命倍率混杂
        */
        tMap.put("Q" + "炽鬃拳伤害", Double.parseDouble(String.format("%.1f", damageCalculatorZF(1.084, 8, 8, 19, 0.1, 90, 90) + damageCalculatorZFHp(0.0186, 8, 8, 19, 0.1, 90, 90))));
        tMap.put("Q" + "焚落踢伤害", Double.parseDouble(String.format("%.1f", damageCalculatorZF(2.368, 8, 8, 19, 0.1, 90, 90) + damageCalculatorZFHp(0.043, 8, 8, 19, 0.1, 90, 90))));


        return tMap;
    }
}
